﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x020014A7 RID: 5287
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class UnlockTutorialScRsp : IMessage<UnlockTutorialScRsp>, IMessage, IEquatable<UnlockTutorialScRsp>, IDeepCloneable<UnlockTutorialScRsp>, IBufferMessage
	{
		// Token: 0x17004284 RID: 17028
		// (get) Token: 0x0600EC4D RID: 60493 RVA: 0x0027714D File Offset: 0x0027534D
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<UnlockTutorialScRsp> Parser
		{
			get
			{
				return UnlockTutorialScRsp._parser;
			}
		}

		// Token: 0x17004285 RID: 17029
		// (get) Token: 0x0600EC4E RID: 60494 RVA: 0x00277154 File Offset: 0x00275354
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return UnlockTutorialScRspReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x17004286 RID: 17030
		// (get) Token: 0x0600EC4F RID: 60495 RVA: 0x00277166 File Offset: 0x00275366
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return UnlockTutorialScRsp.Descriptor;
			}
		}

		// Token: 0x0600EC50 RID: 60496 RVA: 0x0027716D File Offset: 0x0027536D
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public UnlockTutorialScRsp()
		{
		}

		// Token: 0x0600EC51 RID: 60497 RVA: 0x00277178 File Offset: 0x00275378
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public UnlockTutorialScRsp(UnlockTutorialScRsp other) : this()
		{
			this.retcode_ = other.retcode_;
			this.tutorial_ = ((other.tutorial_ != null) ? other.tutorial_.Clone() : null);
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x0600EC52 RID: 60498 RVA: 0x002771C4 File Offset: 0x002753C4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public UnlockTutorialScRsp Clone()
		{
			return new UnlockTutorialScRsp(this);
		}

		// Token: 0x17004287 RID: 17031
		// (get) Token: 0x0600EC53 RID: 60499 RVA: 0x002771CC File Offset: 0x002753CC
		// (set) Token: 0x0600EC54 RID: 60500 RVA: 0x002771D4 File Offset: 0x002753D4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint Retcode
		{
			get
			{
				return this.retcode_;
			}
			set
			{
				this.retcode_ = value;
			}
		}

		// Token: 0x17004288 RID: 17032
		// (get) Token: 0x0600EC55 RID: 60501 RVA: 0x002771DD File Offset: 0x002753DD
		// (set) Token: 0x0600EC56 RID: 60502 RVA: 0x002771E5 File Offset: 0x002753E5
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public Tutorial Tutorial
		{
			get
			{
				return this.tutorial_;
			}
			set
			{
				this.tutorial_ = value;
			}
		}

		// Token: 0x0600EC57 RID: 60503 RVA: 0x002771EE File Offset: 0x002753EE
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as UnlockTutorialScRsp);
		}

		// Token: 0x0600EC58 RID: 60504 RVA: 0x002771FC File Offset: 0x002753FC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(UnlockTutorialScRsp other)
		{
			return other != null && (other == this || (this.Retcode == other.Retcode && object.Equals(this.Tutorial, other.Tutorial) && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x0600EC59 RID: 60505 RVA: 0x0027724C File Offset: 0x0027544C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			if (this.Retcode != 0U)
			{
				num ^= this.Retcode.GetHashCode();
			}
			if (this.tutorial_ != null)
			{
				num ^= this.Tutorial.GetHashCode();
			}
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x0600EC5A RID: 60506 RVA: 0x002772A1 File Offset: 0x002754A1
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x0600EC5B RID: 60507 RVA: 0x002772A9 File Offset: 0x002754A9
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x0600EC5C RID: 60508 RVA: 0x002772B4 File Offset: 0x002754B4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			if (this.Retcode != 0U)
			{
				output.WriteRawTag(72);
				output.WriteUInt32(this.Retcode);
			}
			if (this.tutorial_ != null)
			{
				output.WriteRawTag(90);
				output.WriteMessage(this.Tutorial);
			}
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x0600EC5D RID: 60509 RVA: 0x00277310 File Offset: 0x00275510
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			if (this.Retcode != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.Retcode);
			}
			if (this.tutorial_ != null)
			{
				num += 1 + CodedOutputStream.ComputeMessageSize(this.Tutorial);
			}
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x0600EC5E RID: 60510 RVA: 0x00277368 File Offset: 0x00275568
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(UnlockTutorialScRsp other)
		{
			if (other == null)
			{
				return;
			}
			if (other.Retcode != 0U)
			{
				this.Retcode = other.Retcode;
			}
			if (other.tutorial_ != null)
			{
				if (this.tutorial_ == null)
				{
					this.Tutorial = new Tutorial();
				}
				this.Tutorial.MergeFrom(other.Tutorial);
			}
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x0600EC5F RID: 60511 RVA: 0x002773D0 File Offset: 0x002755D0
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x0600EC60 RID: 60512 RVA: 0x002773DC File Offset: 0x002755DC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num != 72U)
				{
					if (num != 90U)
					{
						this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
					}
					else
					{
						if (this.tutorial_ == null)
						{
							this.Tutorial = new Tutorial();
						}
						input.ReadMessage(this.Tutorial);
					}
				}
				else
				{
					this.Retcode = input.ReadUInt32();
				}
			}
		}

		// Token: 0x04005D77 RID: 23927
		private static readonly MessageParser<UnlockTutorialScRsp> _parser = new MessageParser<UnlockTutorialScRsp>(() => new UnlockTutorialScRsp());

		// Token: 0x04005D78 RID: 23928
		private UnknownFieldSet _unknownFields;

		// Token: 0x04005D79 RID: 23929
		public const int RetcodeFieldNumber = 9;

		// Token: 0x04005D7A RID: 23930
		private uint retcode_;

		// Token: 0x04005D7B RID: 23931
		public const int TutorialFieldNumber = 11;

		// Token: 0x04005D7C RID: 23932
		private Tutorial tutorial_;
	}
}
